﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;

namespace gpuimp.core
{
    /// <summary>
    /// ImageFile is a helper class for FileManager,
    /// keeping track of an image's ID, filepath, and bitmap data.
    /// </summary>
    public class ImageFile
    {
        private int imageID;
        private int canvasID;
        private long quality;
        private string filePath;

        public ImageFile()
        {

        }

        public ImageFile(int imageID, string filePath, int canvasID)
        {
            this.imageID = imageID;
            this.filePath = filePath;
            this.canvasID = canvasID;
            this.quality = -1;
        }

        public string getFilePath()
        {
            return filePath;
        }

        public int getID()
        {
            return imageID;
        }

        public int getCanvasID()
        {
            return canvasID;
        }

        public long getQuality()
        {
            return quality;
        }

        public void setQuality(long inQuality)
        {
            quality = inQuality;
        }

        public void setFilePath(string filePath)
        {
            this.filePath = filePath;
        }
    }
}
